// ============================== 导出标识 ============================== //

export const minor = '示例页面'
export const sort = 990

// ============================== 导出路由 ============================== //

export default {
  DemoRole: {
    menu: { title: '示例角色' },
    component: () => import(/* webpackChunkName: "CoreDemo" */ '@/views/Demo/DemoRole'),
  },

  DemoUser: {
    menu: { title: '示例用户' },
    component: () => import(/* webpackChunkName: "CoreDemo" */ '@/views/Demo/DemoUser'),
  },

  DemoComponent: {
    menu: { title: '示例组件' },
    component: () => import(/* webpackChunkName: "CoreDemo" */ '@/views/Demo/DemoComponent'),
  },

  DemoChart: {
    menu: { title: '示例图表' },
    component: () => import(/* webpackChunkName: "CoreDemo" */ '@/views/Demo/DemoChart'),
  },

  DemoUserDetail: {
    component: () => import(/* webpackChunkName: "CoreDemo" */ '@/views/Demo/DemoUserDetail'),
    path: 'demo/user/:id',
    props: true,
    meta: { menu: 'DemoUser', title: '用户详情' }, // 为了选中菜单
  },
}
